const forest = {
    location: 'Sweden',
    animal: 3,
    animalsTypes: ['Lion','Tigger', 'Bears']
};
// es6 解构
const loaction = 'dfdf' ;
const { loaction :lo ,animal,animalsTypes, nickname='未命名'} = forest;// location 的别名 lo
console.log(lo,nickname);
 const [] = animalsTypes;
 const [lions,tigers,bears] = animalsTypes;
 console.log(lions,tigers,bears)

